<?php

class Application_Form_updateclient extends Zend_Form
{

    public function init()
    {
        /* Form Elements & Other Definitions Here ... */
    	
    	
    	$this->setName("Formulairemodifierclient");
    	
    	$id = new Zend_Form_Element_Hidden('idPILOT_LISTCLIENTS');
    	$id->setLabel('');
    	
    	$nomclient = new Zend_Form_Element_Text('NOMCLIENT');
    	$nomclient->setLabel('Nom Client');
    	
    	$login = new Zend_Form_Element_Text('LOGIN');
    	$login->setLabel('Login');
    	
    	$pwd = new Zend_Form_Element_Password('PASSWORD');
    	$pwd->setLabel('Password');
    	
        
    	$description = $this->CreateElement('textarea', 'DESCRIPTION');
    	$description->setAttrib('rows', '7');
    	$description->setAttrib('cols', '35');
    	$description->setLabel('Description');
    	
    	$wsdl = $this->CreateElement('textarea', 'WSDLTEXT');
    	$wsdl->setAttrib('rows', '7');
    	$wsdl->setAttrib('cols', '35');
    	$wsdl->setLabel('WSDL');
    	
    	$webservice = $this->CreateElement('textarea', 'URLWEBSERVICE');
    	$webservice->setAttrib('rows', '7');
    	$webservice->setAttrib('cols', '35');
    	$webservice->setLabel('URL Web Service');
    	
    	$URLPLATEFORME = $this->CreateElement('textarea', 'URLPLATEFORME');
    	$URLPLATEFORME->setAttrib('rows', '7');
    	$URLPLATEFORME->setAttrib('cols', '35');
    	$URLPLATEFORME->setLabel('Url de la plateforme');
    	 
    	
    	$prefix = new Zend_Form_Element_Text('PREFIX');
    	$prefix->setLabel('Prefix');
    	 
    	$valider = new Zend_Form_Element_Submit("submit");
    	$valider->setLabel("Modifier");
    	
    	$this->addElements(array($id,$nomclient,$login,$pwd,$description,$wsdl,$webservice,$URLPLATEFORME,$prefix,$valider));
    	
    	
    	
    	
    	$this->setDecorators( array( array('ViewScript', array('viewScript' => 'protypeform.phtml'))));
    	
    }


}

